Masteriyo\Addons\Stripe\StripeAddon C

Total Complexity 108
Dependencies 13
Dependents 0
Total lines 812
Lines of code 524
Logical lines of code 245
Comment lines 193
Methods 25
Properties 1

Methods 25

Method Rating Maintainability Complexity Lines of code
handle_webhook()
A
40 13 61
save_setting()
A
47 13 40
save_stripe_account()
A
42 12 51
create_payment_intent()
A
41 10 54
stripe_connect()
A
42 8 58
save_stripe_data()
A
50 9 28
load_localized_scripts()
A
51 9 25
handle_payment_intent_webhook()
A
46 7 37
update_settings_before_stripe_connect()
S
53 4 23
load_scripts()
S
53 3 24
append_setting_in_response()
S
55 3 20
map_stripe_events_to_order_status()
S
59 2 14
get_zero_decimal_currencies()
S
57 1 20
init_hooks()
S
57 1 16
instance()
S
71 2 6
convert_cart_total_to_stripe_amount()
S
63 2 10
reset_stripe_connect()
S
62 1 13
__construct()
S
91 1 2
__clone()
S
91 1 2
__wakeup()
S
91 1 2
init()
S
82 1 3
append_migrations()
S
75 1 4
localize_admin_scripts()
S
74 1 4
enqueue_scripts()
S
80 1 3
add_payment_gateway()
S
77 1 4